import request from '@/utils/requestMethod'
// import type { ILogin, ILoginParams } from '@/types/user'

// export const signIn = (form: ILoginParams) => request.post<ILogin>('/api/user/login', form)

// export const signOut = () => request.post('/api/user/logout')

// //
// export const getUserList = () => request.get('/api/user/list')

//login
export const login = (form: any) => request.post('/taskBase/login', form)
//register
// export const register=(form:any)=>request.post('/taskBase/register',form)
export const register = (form: any) => request.post('/taskBase/biz3/register', form)
//changePwd
export const changePwd = (form: any) => request.post('/taskUser/changePwd', form)
//logout
export const logout = () => request.get('/taskUser/logout')
//sendCode
export const getCode = (form: any) => request.post('/taskBase/getCode', form)
//forgetpassword
export const forgotPwd = (form: any) => request.post('/taskBase/forgotPwd', form)

//
export const channel = (form: any) => request.get('/taskBase/channel', form)
